﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KWT.DRG_DIP.PO.Basic
{
    /// <summary>
    /// 记录表
    /// </summary>
    public class Sys_Record
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]

        public string RecordID { get; set; }
        /// <summary>
        /// 用户主键
        /// </summary>

        public string UserID { get; set; }
        /// <summary>
        /// 卡密主键
        /// </summary>

        public string KeyID { get; set; }
        /// <summary>
        /// 1.下载记录
        /// 2.购买记录
        /// 3.赠送记录
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Amount { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public double Money { get; set; }
        /// <summary>
        /// 记录时间
        /// </summary>
        public DateTime RecordTime { get; set; } = DateTime.Now;
        public string Desc { get; set; }
        public string AccountID { get; set; }
    }
}
